package com.lyw.idempotentstarter.service;

import com.lyw.idempotentstarter.annotation.Idempotent;
import org.springframework.stereotype.Component;

@Component
public class HelloService {

    @Idempotent(paramName = "token2", value = "")
    public void sayHello(String msg, String token2){
        System.out.println("helloWorld"+msg);
    }

}
